<template>
  <div class="padding-l-20 padding-r-20" style="padding-top:40px">
    数据备份： 
    <a-button
      class="nbcs-btn nbcs-btn-primary"
      @click="backup">
      备份
    </a-button>
  </div>
</template>
<script>
import { backup} from '@/services/system'
export default {
  name: "backup",
  components: {  },
  data() {
    return {
      
    };
  },
  created() {
  },
  methods: {
    backup(){
      backup().then((res) => {
        if(res.data.code == 0){
          this.$message.success('备份成功');
        }
      })
    }
  }
};
</script>
<style lang="less" scoped>

</style>
